package com.wellgoon.test.util;

import java.util.concurrent.ScheduledThreadPoolExecutor;
import java.util.concurrent.TimeUnit;

public class ExecutorUtils {
    public static ScheduledThreadPoolExecutor EXECUTOR_SERVICE = new ScheduledThreadPoolExecutor(2);

    public static void start(LogTimeTask task){
        EXECUTOR_SERVICE.schedule(task,5, TimeUnit.SECONDS);
    }
}
